package IC.Parser;

@SuppressWarnings("serial")
public class LexicalError extends Exception
{
	private String message;
	
    public LexicalError(int line, String message) {
    	this.message = (line+1) + ":" + " Lexical Error : " + message;
    }
    public LexicalError(String message){
    	this.message = message;
    }
    public String toString() {
    	return message; 
    }
}

